import { Suspense } from 'react'
import { useRoutes } from 'react-router'
import routes from './router'

function App() {
  return (
    <Suspense fallback={''}>
      <div className={'w-screen h-screen'}>{useRoutes(routes)}</div>
    </Suspense>
  )
}

export default App
